<include file="Public:header" />

<div id="details">
	<h2>当前位置  <volist name="path" id="vo"> &gt; <a href="__APP__/List/show/id/{$vo.id}">{$vo.category_name}</a> </volist></h2>
	<h3>{$art.title}</h3>
	<div class="d1">时间：{$art.date|date="Y-m-d H:i:s",###} 来源：{$art.source} 作者：{$art.author} 点击量：{$art.count} 次</div>
	<div class="d2">简介：  {$art.info}</div>
	<div class="d3">{$art.content}</div>
	<div class="d4">TAB标签：{$art.tag}</div>
	<div class="d6">
		<h2><a href="__APP__/Comment/show/aid/{$art.id}" target="_blank">已有<span>{$comCount}</span>人参与评论</a>最新评论</h2>
		<if condition="$comData">
		<volist name="comData" id="comData">
		<dl>
		<if condition="$comData.uid eq 0">
			<dt><img src="__PUBLIC__/Images/00.gif" alt="游客" /></dt>
			<dd><em>{$comData.date|date="Y-m-d",###} 发表</em><span>[游客]</span></dd>
		<else />
			<dt><img src="__PUBLIC__/Images/{$comData.face}" alt="{$comData.user}" /></dt>
			<dd><em>{$comData.date|date="Y-m-d",###} 发表</em><span>[{$comData.user}]</span></dd>
		</if>			
			<dd class="info">[{$comData.manner|getManner}]:&nbsp;{$comData.content}</dd>
			<dd class="bottom"><a href="__APP__/Comment/support/id/{$comData.id}" target="_blank">[{$comData.support}]支持</a> <a href="__APP__/Comment/oppose/id/{$comData.id}"  target="_blank">[{$comData.oppose}]反对</a></dd>
		</dl>
		</volist>
		<else />
		<dl>
			<dd>此文档下没有任何评论！</dd>
		</dl>
		</if>
	</div>
	<div class="d5">
		<form method="post" name="comment" action="__APP__/Comment/insert" target="_blank">
			<input type="hidden" name="aid" value="{$art.id}" />
			<input type="hidden" name="uid" value="{$user_id}" />
			<p>你对本文的态度：<input type="radio" name="manner" value="1" checked="checked" /> 支持
										<input type="radio" name="manner" value="0" /> 中立
										<input type="radio" name="manner" value="-1" /> 反对
			</p>
			<p class="red">请互联网规则，不要发表关于政治、反动、色情之类的评论。</p>
			<p><textarea name="content"></textarea></p>
			<p style="position:relative;top:-5px;">
				 验证码：<input type="text" class="text" name="verify" />
				 <img src="__APP__/Public/verify" onclick="javascript:this.src='__APP__/Public/verify/tm/'+Math.random();" class="code" /> 
				 <input type="submit" class="submit" onclick="return checkComment();" name="send" value="提交评论" />
			</p>
		</form>
	</div>
</div>
<div id="sidebar">
	<div class="nav">
		<h2>子栏目列表</h2>
		<if condition="$cat eq null">
		<span>该栏目没有子类</span>
		<else />
		<volist name="cat" id="cat">
		<strong><a href="__APP__/List/show/id/{$cat.id}">{$cat.category_name}</a></strong>
		</volist>
		</if>
	</div>
	<div class="right">
		<h2>本月本类推荐</h2>
		<ul>
		<if condition="$monthCatRecNews">
		<volist name="monthCatRecNews" id="monthCatRecNews">
			<li><em>{$monthCatRecNews.date|date="Y-m-d",###}</em><a href="__APP__/List/id/{$monthCatRecNews.id}" target="_blank">{$monthCatRecNews.title}</a></li>
		</volist>
		<else />
		<li>暂无本月本类推荐文章！</li>
		</if>
		</ul>
	</div>
	<div class="right">
		<h2>本月本类热点</h2>
		<ul>
		<if condition="$monthCatHotNews">
		<volist name="monthCatHotNews" id="monthCatHotNews">
			<li><em>{$monthCatHotNews.date|date="Y-m-d",###}</em><a href="__APP__/List/id/{$monthCatHotNews.id}" target="_blank">{$monthCatHotNews.title}</a></li>
		</volist>
		<else />
		<li>暂无本月本类热点文章！</li>
		</if>
		</ul>
	</div>
	<div class="right">
		<h2>本月本类图文</h2>
		<ul>
		<if condition="$monthCatPicNews">
		<volist name="monthCatPicNews" id="monthCatPicNews">
			<li><em>{$monthCatPicNews.date|date="Y-m-d",###}</em><a href="__APP__/List/id/{$monthCatPicNews.id}" target="_blank">{$monthCatPicNews.title}</a></li>
		</volist>
		<else />
			<li>暂无本月本类图文文章！</li>
		</if>
		</ul>
	</div>
</div>
<include file="Public:footer" />